import { AnyNaptrRecord } from 'dns'
import request from '../request'

//职位管理
export const getlist = (params:AnyNaptrRecord) => {
    return request({
        url: '/pinfo',
        method: 'get',
        params,
    })
}
//修改职位管理的状态
export const upaudit = (id:any,data:any) => {
    return request({
        url: `/pinfo/${id}`,
        method: 'patch',
        data,
    })
}

// 删除职位管理

export const del = (id:any)=>{
    return request({
        url: `/pinfo/${id}`,
        method: 'delete',
    })
}

